package com.miya.demo.model.vo.wechat;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 微信授权VO
 *
 * @author CaiXiaowei
 * @date 2022/08/31
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class WeChatAuthVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonProperty("openid")
    private String openId;

    @JsonProperty("session_key")
    private String sessionKey;

    @JsonProperty("unionid")
    private String unionId;

    @JsonProperty("errcode")
    private Integer errCode;

    @JsonProperty("errmsg")
    private String errMsg;
}
